<template>
  <div>{{ main.$state.author}}  {{ author }}</div>
 <Questionnaire></Questionnaire>
</template>


<script setup lang="ts"> 
  import { storeToRefs } from 'pinia';
import Questionnaire from './components/questionnaire/Index.vue'

  import {useMainStore}  from './store';


  const main = useMainStore()

  const { author } =  storeToRefs(main)


  console.log(author)
   
</script>